/**
 * @Author: Bobby
 * @Date: 2022-02-15 13:14:17
 * @LastEditTime: 2022-03-01 10:18:01
 * @LastEditors: Bobby
 * @Description:
 * @FilePath: \wms-v2\src\ve\common\components\baseComs\form\uiTableDate.js
 * @CIMC-V2
 */
import { exInput, exRadioGroup } from '@ve/common/components/extension'

export default {
  VERSION: '20220802',
  type: 'uiTableDate',
  extension: {
    placeholder: exInput('提示', '请输入'),
    selection: exRadioGroup('类型', 'datetime', [
      {
        value: 'datetime',
        label: '日期时间',
      },
      {
        value: 'date',
        label: '日期',
      },
      {
        value: 'month',
        label: '月份',
      },
    ]),
    nowDateLimit: exRadioGroup('时间限定', '', [
      {
        value: '',
        label: '无',
      },
      {
        value: 'befor',
        label: '当前之前',
      },
      {
        value: 'after',
        label: '当前之后',
      },
    ]),
    defaultValue: exRadioGroup('默认值', '', [
      {
        value: '',
        label: '无',
      },
      {
        value: 'now',
        label: '当前',
      },
    ]),
  },
}
